Task 1.2.0: Scaffold Block Theme & Convert Front Page (Preserve Design) (vibe-kanban) #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
{
"task_id": "1.2.0",
"task_title": "Scaffold Block Theme & Convert Front Page (Preserve Design)",
"objective": "Begin migration to a block theme without changing the approved look.",
"context": "Repo currently uses classic PHP templates (front-page.php, header.php, footer.php, archive-project.php, single-project.php). We are moving to block templates while preserving the visual output.",
"constraints": [
"Do not remove existing PHP templates; keep for reference.",
"Do not add theme.json in this task (that is 1.3.0).",
"Only use core blocks and inline/block attributes (no custom blocks).",
"Do not touch server/DNS/CI configuration."
],
"requirements": [
"Ensure theme has directories: templates/ and parts/ at the theme root.",
"Create parts/header.html and parts/footer.html that visually match header.php and footer.php (logo/title + nav; minimal footer with contact + socials).",
"Create templates/front-page.html that matches front-page.php layout (vertical scrolling hero/intro + portfolio preview).",
"Add a minimal templates/index.html so the theme is recognized as a block theme (include header/footer parts and a post-content block).",
"Leave the original PHP files in place for reference."
],
"acceptance_criteria": [
"With the theme active, the front page renders with visual parity to the current PHP version (tiny spacing differences acceptable).",
"Header and footer block parts match the approved design.",
"No browser console errors.",
"Before/after screenshots attached to the PR showing parity."
],
"file_scope": [
"templates/index.html",
"templates/front-page.html",
"parts/header.html",
"parts/footer.html",
"(read-only reference) front-page.php, header.php, footer.php"
],
"env_notes": [
"Preview at http://nano.local on the Pi.",
"VK develops on Windows → pushes branch to GitHub → Pi fetches branch into ~/docker/network/wp-nano/theme for live preview.",
"Do not modify Nginx/Pi-hole or other services for this task."
],
"post_task_actions": [
"Update README.md status and changelog with 1.2.0 details.",
"Open PR titled: "1.2.0 Block scaffold + front page conversion (visual parity)"."
]
}